/*
 * SettingChangedEvent.cpp
 *
 *  Created on: 01.05.2009
 *      Author: h3llfire
 */

#include "SettingChangedEvent.h"

namespace Impp {

DEFINE_EVENT_TYPE(EVT_SETTING_CHANGED)

SettingChangedEvent::SettingChangedEvent(const DBModule & module, const wxString & settingName, wxEventType eventType , int id) :
	wxNotifyEvent(eventType,id),
	module(module),
	settingName(settingName){}

SettingChangedEvent::~SettingChangedEvent() {

}

wxEvent* SettingChangedEvent::Clone() const {
	return new SettingChangedEvent(*this);
}

DBModule& SettingChangedEvent::getModule(){
	return module;
}

wxString SettingChangedEvent::getSettingName(){
	return settingName;
}


}
